<!DOCTYPE html>
<html>

<head>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    <title>CMDB系统 | 登录</title>

    <link href="/static/css/bootstrap.min.css" rel="stylesheet">
    <link href="/static/font-awesome/css/font-awesome.css" rel="stylesheet">

    <link href="/static/css/animate.css" rel="stylesheet">
    <link href="/static/css/style.css" rel="stylesheet">

</head>

<body class="gray-bg">

    <div class="middle-box text-center loginscreen animated fadeInDown">
        <h3>欢迎登录CMDB系统</h3>
        <form class="m-t" role="form" action=""  method="POST">
            {% csrf_token %}
            {% block content %}
            <div class="form-group">
                <input type="text"  name="username" class="form-control" placeholder="用户名" required="">
            </div>
            <div class="form-group">
                <input type="password"  name="password" class="form-control" placeholder="密码" required="">
            </div>
            <button type="submit" class="btn btn-primary block full-width m-b">登录</button>

            <span style="color: red;"> {{ error_msg }}</span><br>
            <!-- <a href="#"><small>忘记密码?</small></a> -->
            <!-- <a class="btn btn-sm btn-white btn-block" href="#">创建一个帐户</a> -->
            {% endblock %}
        </form>
        <p class="m-t"> <small>Copyright</strong> CMDB系统 &copy; 2017</small> </p>

    </div>

    <!-- Mainly scripts -->
    <script src="/static/js/jquery-3.1.1.min.js"></script>
    <script src="/static/js/bootstrap.min.js"></script>

</body>

</html>
